//
//  HMAddAdressViewController.m
//  G05爱鲜蜂
//
//  Created by 小灰灰 on 16/10/20.
//  Copyright © 2016年 何源. All rights reserved.
//

#import "HMAddAdressViewController.h"
static NSString *adressIde = @"HMAddAdressViewController";
@interface HMAddAdressViewController ()<UITableViewDelegate,UITableViewDataSource>
@property(nonatomic,strong)UITableView *tabelView;
@end

@implementation HMAddAdressViewController

- (void)viewDidLoad {
    [super viewDidLoad];
 
    UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.frame style:UITableViewStyleGrouped];
    [self.view addSubview:tableView];
    self.tabelView = tableView;
    
    self.tabelView.delegate = self;
    self.tabelView.dataSource = self;
    [self.tabelView registerClass:[UITableViewCell class] forCellReuseIdentifier:adressIde];
}
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 5;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:adressIde forIndexPath:indexPath];
    if(indexPath.row == 0){
      
    }
    return cell;
}
-(void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    self.navigationController.navigationBarHidden = NO;
}

@end
